home *** CD-ROM | disk | FTP | other *** search
- on(release){
- if(Number(eval("/:gameover")) != Number(true) and Number(eval("/:dealfindcommon")) != Number(true))
- {
- set("/:dealfindcommon",true);
- set("/:shootballcolor",getProperty("/arrow/nextball", _currentframe));
- tellTarget("/arrow/nextball")
- {
- gotoAndStop("blank");
- }
- set("/:hit_ball_name",_name);
- set("/:hit_ball_index",eval("/:hit_ball_name").substr(5,2));
- set("/:hit_ball_name","/" add eval("/:hit_ball_name"));
- if(Number(eval("/:hit_ball_index")) < 25)
- {
- tellTarget("/arrow/shootball")
- {
- gotoAndStop("circle3");
- play();
- }
- }
- else if(Number(eval("/:hit_ball_index")) >= 25 and Number(eval("/:hit_ball_index")) < 44)
- {
- tellTarget("/arrow/shootball")
- {
- gotoAndStop("circle2");
- play();
- }
- }
- else if(Number(eval("/:hit_ball_index")) >= 44)
- {
- tellTarget("/arrow/shootball")
- {
- gotoAndStop("circle1");
- play();
- }
- }
- tellTarget("/effect")
- {
- gotoAndStop("shoot");
- play();
- }
- stopDrag();
- }
- }
-